package com.lg.atp.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lg.atp.entity.TblParaData;

public interface ParaDataDao {

	public List<TblParaData> selectParaDataByParaId(@Param("paraId")Long paraId);
	
	public void saveParaDatas(Map<String,Object> map);
	
	public List<TblParaData> selectParaDataNoUsedByParaId(@Param("paraId")Long paraId);
	
	public void updateParaDatasetUsed(@Param("id")Long id);

	public List<TblParaData> selectRandomParaDataByParaId(@Param("paraId")Long paraId);
	
	public List<TblParaData> selectOrderParaDataByParaId(@Param("paraId")Long paraId);
	
	public void delParaDataByParaId(@Param("paraId")Long paraId);
}
